import Vue from 'vue'

import 'normalize.css/normalize.css'// A modern alternative to CSS resets

import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import locale from 'element-ui/lib/locale/lang/zh-CN' // lang i18n
import '@/styles/index.scss' // global css
// import { Message, MessageBox } from 'element-ui'

import App from './App'
import Home from './views/home'

import '@/icons' // icon
// main.js (需要先引入 Vue 和 Element-UI 依赖库, 并在 <el-table></el-table> 组件下使用该组件)
import AFTableColumn from 'af-table-column'
Vue.use(ElementUI, { locale })
Vue.use(AFTableColumn)

Vue.config.productionTip = false

new Vue({
  el: '#app',
  template: '<Home/>',
  components: { Home }
})
